#include <stdio.h>
#define FIRMWARE_DIR1   "/etc/firmware"

int main(int argc, char *argv[])
{
	char *file1 = NULL;
	int l = 0;
    l = asprintf(&file1, FIRMWARE_DIR1"/%s", "xxx");
    if (l == -1)
        printf("error\n");
	printf("file1 = %s\n", file1);
	return 0;
}
